<?php

/**
 * Relationship
 *
 * This class maintains relationship between two accounts
 * there are 2 types of relationship it can handle one way relationship 
 * or two way relationship, 1way is similar to twitter where you can maintain relationship
 * with other person eventhough other person dont want, 2way is similar to facebook if you accepts
 * others relationship then the same relationship valids from your side too.
 * 
 * @todo implement relationship types
 * currently it supports only one relationship which you can name it
 * whether a friend or follower or anything you like
 *
 * @copyright 
 * @version   $Id$
 */

class Relationship
{
	/**
	 * Check whether the acceptor didnt blocked the requestor then request
	 * 
	 * @param int $requestorId - Id of the person who requests relationship
	 * @param int $acceptorId  - Id of the person who accepts relationship
	 */
	public function requestRelationShip($requestorId, $acceptorId)
	{}
	
	public function revokeRelationShip($requestorId, $acceptorId)
	{}
	
	public function acceptRelationShip($requestorId, $acceptorId)
	{}
	
	/**
	 * An acceptor can only block request?
	 * @param int $requestId
	 */
	public function blockRelationshipRequest($requestId)
	{}
	
	public function getAllRelations($accountId)
	{}
}